package com.education.online.mapper;


import com.education.online.pojo.OLessonUserBuy;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户购买课程 数据层
 *
 * @author d
 * @date 2020-06-04 15:17:55
 */
@Repository
public interface OLessonUserBuyMapper {

    //查询用户购买课程信息
    public OLessonUserBuy selectOLessonUserBuyById(Integer id);

    // 查询用户购买课程列表
    public List<OLessonUserBuy> selectOLessonUserBuyList(OLessonUserBuy oLessonUserBuy);

    // 新增用户购买课程
    public int insertOLessonUserBuy(OLessonUserBuy oLessonUserBuy);

    //修改用户购买课程
    public int updateOLessonUserBuy(OLessonUserBuy oLessonUserBuy);

    //删除用户购买课程
    public int deleteOLessonUserBuyById(Integer id);

    // 批量删除用户购买课程
    public int deleteOLessonUserBuyByIds(String[] ids);
}